package com.henu.engineer.dao.mapper.teachingoutline

import com.henu.engineer.dao.entity.teachingoutline.CourseMethod
import org.apache.ibatis.annotations.Mapper
import org.springframework.stereotype.Repository

/**
 *
 * @author noexcept
 * @since 2021/8/10 20:43
 */
@Mapper
@Repository
interface CourseMethodXmlMapper {
    fun selectCourseMethodByCourseId(courseId: String): List<CourseMethod>

    /**
     * 根据课程id和考核方式名称查询考核方式占比
     */
    fun selectProportionByCourseIdMethodName(courseId: String,methodName:String):Double?
}